#coding:utf-8
'''
Created on 2015-11-20

@author: root
'''
from __future__ import absolute_import
from datetime import timedelta
from celery.schedules import crontab

#CELERY_RESULT_BACKEND = 'redis://127.0.0.1:6379/0'
BROKER_URL = 'redis://127.0.0.1:6380/0'

CELERY_TIMEZONE = 'Asia/Shanghai'
CELERYD_MAX_TASKS_PER_CHILD = 1000

# CELERYBEAT_SCHEDULE = {
#     # Executes every Monday morning at 7:30 A.M
#     'add-every-day': {
#         'task': 'proj.tasks.catch_all_group_article_yesterday',
#         'schedule': crontab(hour=21, minute=30),
#         'args': (),
#     },
# }
